using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Forest.Cat.Domain.Entities;
using Forest.Core;
using Forest.Cat.Domain.Shared;

namespace Forest.Cat.Domain.Services.Catalog
{
    public partial interface INewsService
    {
        void DeleteNews(News news);

        News GetNewsById(Guid newsId);

        IPagedList<News> GetAllNewss(int pageIndex, int pageSize);

        void InsertNews(News news);

        void UpdateNews(News news);

        IQueryable<News> GetNewByTab(NewsTab newsTab,int top=11);
    }
}
